<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"  
      xmlns:h="http://java.sun.com/jsf/html"  
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:f="http://java.sun.com/jsf/core">
    <head>
        <title>Welcome to City Press </title>
    </head>
    <h:body>
        <h:form id="regM">
            <ol>
                <li><a href="faces/browseArticles.xhtml">Browse Articles</a></li>        
                <li><a href="faces/search.xhtml">Search</a></li>
                <li><a href="faces/viewLatestArticles.xhtml">View latest Articles</a></li>
                <li><a href="faces/viewLatestComments.xhtml">View latest Comments</a></li>
                <hr/>
                <li><a href="faces/createArticle.xhtml ">Create Article</a></li>
                <li><a href="faces/createCategory.xhtml">Create Category</a></li>
                <li><a href="faces/commentOnArticleMember.xhtml">Comment On Article</a></li>
                <li><a href="faces/view_delete_OwnCategories.xhtml">Browse Own Categories</a></li>
                <li><a href="faces/view_delete_OwnArticles.xhtml">Browse Own Articles</a></li>
            </ol>
            <ol>
                <li><a href="faces/editProfile.jsp">Edit Profile</a></li> 
                <h:commandButton action="#{loginBean.redirection()}" value="Log Out"></h:commandButton>
                <h:outputLabel id="logInUser" for="logInUser" value="Welcome #{loginBean.checkedUser.username}"/>
            </ol>
        </h:form>
    </h:body>
</html>

